package top.infopub.mgr.mkt.service.impl;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.infopub.mgr.mkt.dao.BidManageDao;
import top.infopub.mgr.mkt.domain.BidManageDomain;
import top.infopub.mgr.mkt.domain.ProjectDomain;
import top.infopub.mgr.mkt.service.BidManageService;
import top.infopub.mgr.mkt.vo.BidManageVo;
import top.infopub.mgr.mkt.vo.MarketingVo;

@Service
public class BidManageServiceImpl implements BidManageService {

    @Autowired
    private BidManageDao bidManageDao;
    @Override
    public Page<BidManageDomain> selectPage(Page<BidManageDomain> page, BidManageVo bidManageVo) {
        PageHelper.startPage(page.getPageNum(), page.getPageSize());
        return (Page<BidManageDomain>)bidManageDao.selectPage(bidManageVo);
    }
}
